package com.fh.db.base;

import com.fh.db.DbView;

import java.util.Date;

/**
 * @Author qiujunda
 * @Date 16/05/2020
 * @Description
 */
public abstract class BaseDbView  implements DbView {
    private String viewName;
    private int textLength;
    private String textContent;
    private Date created;

    private Date lastDdlTime;

    @Override
    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    @Override
    public Date getLastDdlTime() {
        return lastDdlTime;
    }

    public void setLastDdlTime(Date lastDdlTime) {
        this.lastDdlTime = lastDdlTime;
    }

    public void setViewName(String viewName) {
        this.viewName = viewName;
    }

    public void setTextLength(int textLength) {
        this.textLength = textLength;
    }

    public void setTextContent(String textContent) {
        this.textContent = textContent;
    }


    @Override
    public String getViewName() {
        return viewName;
    }

    @Override
    public int getTextLength() {
        return textLength;
    }

    @Override
    public String getTextContent() {
        return textContent;
    }

}
